import request from "@/utils/request";


//获取分页列表
export const reqPageLimit = (page=1, limit=5)=>{
    return request.get(`/admin/product/baseTrademark/${page}/${limit}`)
}
//新增或修改的请求
export const reqAddTradeSave = (trademarkData)=>{
  return request.post(`/admin/product/baseTrademark/save`,trademarkData)
}

export const reqUpdateTrade = (trademarkData) =>{
  return request.put(`/admin/product/baseTrademark/update`,trademarkData)
}
//删除这个商品
export const reqDeleteTrade = (id)=>{
  return request.delete(`/admin/product/baseTrademark/remove/${id}`)
}
